$theme:#4E6EF2!default; //主题色
$themeopacity:#EDF1FE; //主题色透明
$color:#333;              //文字的颜色
$colortext:#444;              //文字的颜色
$colormore:#999;              //文字的颜色
    
$fontsizesmall:12px; 
$fontsize:14px;
$fontsizebt:16px;
$fontsizetitle:18px;
$fontsizebig2:20px;
$fontsizebig:30px;

$bg:#ffffff;              //背景色
$border:#e0e0e0;      //边框的颜色

$lineLimit:'';     //多行省略的函数
$lineHeight:'';

@mixin multi-line-ellipsis($lineLimit, $lineHeight) {   //多行省略
  line-height: $lineHeight;
  display: -webkit-box;
  overflow: hidden; 
  word-break: break-all; 
  text-overflow: ellipsis; 
  -webkit-line-clamp: $lineLimit;
-webkit-box-orient: vertical;
}
@mixin single-line-ellipsis {  //单行省略
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
@mixin position-center {  //块元素百分比下居中
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
@mixin container-center { //子元素水平平均地分布，垂直居中
  @include flex-box;
  justify-content: space-around;
  align-items: center;
}


